SetControlSearchTimeout

Sets the maximum time to wait for QA Wizard Pro to find a window or control in the application. If the time is reached, playback stops and an error is displayed.

The default value is 15,000 milliseconds.

Note: This statement overrides the default control search timeout set in the Options dialog box. See Setting playback options.

Syntax

SetControlSearchTimeout(Timeout)

Arguments

Argument Description
Timeout Number of milliseconds before the window or control search times out.

Example

SetControlSearchTimeout(90000)